package com.hl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author admin
 * @Date 2022-1-18 13:49:37
 * @created by hl
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "class")
public class Class implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer classId;

    private String className;

    private String creator;

    private Date createDate;
}
